﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace QuanLyGiaoVuDAL.Repositories.DatabaseRepositories
{
    public interface IFileRepository
    {
        bool GetFileStreamById(Guid fileId, out Stream fileStream, out String fileName, out String contentType);
        bool SaveFileFromStream(Guid? fileId, Stream dataStream, String fileName, String contentType, out Guid newFileId);
        bool DeleteFileById(Guid fileId);
    }
}
